/*
 * @Author: thl t15945324431@163.com
 * @Date: 2024-04-24 13:23:31
 * @LastEditors: thl t15945324431@163.com
 * @LastEditTime: 2024-05-01 10:37:47
 * @FilePath: \cw_web\gl\src\views\wallet\setting\depositSettings\index.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import React, {Component} from "react"
import Recharge from './component/recharge';
import PetRecharge from './component/petRecharge';
import PetSetting from './component/petSetting';
import PetCoinsPromotion from "./component/petCoinsPromotion";

export default class EmbodiedRecharge extends Component {
    constructor() {
        super()
        this.FormRef = React.createRef()
        this.state = {
            tabValue: '1', //tab选中的值
        }
    }

    // tab切换
    tabChange = (e) => {
        this.setState({
            tabValue: e
        })
    }

    render() {
        return (
            <div className="p-layout-box">
                <Recharge/>
                <div style={{marginTop: '20px'}}/>
                <PetRecharge/>
                {/*<PetSetting/>*/}
                <PetCoinsPromotion/>
                {/* <Tabs
                  onChange={(value) => this.tabChange(value)}
                  type="card"
                  defaultActiveKey={this.state.tabValue}
                ><Tabs.TabPane tab="充值配置" key='1'>
                    <Recharge />
                  </Tabs.TabPane>
                  <Tabs.TabPane tab="提现配置" key='2'>
                    <Withdraw />
                  </Tabs.TabPane>
                </Tabs> */}
            </div>
        );
    }
}
